package com.newtouch.bxzs.business.personal.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.newtouch.bxzs.business.personal.model.CommonProblemBO;
import com.newtouch.bxzs.business.personal.model.CommonProblemVO;
import com.newtouch.bxzs.business.personal.model.EnableCommonProblemVO;
import com.newtouch.bxzs.business.personal.model.ModifyCommonProblemVO;

import java.util.List;
import java.util.Map;

/**
 * 常见问题服务
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020年12月31日</td>
 * <td>xiongdianqiang</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author xiongdianqiang
 * 
 * @version 1.0.0
 * @since 1.0.0
 */
public interface CommonProblemService {

	/**
	 * 获取常见问题列表
	 * 
	 * @param commonProblemVO
	 * @return
	 */
	Map<String, Page<CommonProblemBO>> getCommonProblemList(CommonProblemVO commonProblemVO);

	/**
	 * 获取常见问题详情
	 * 
	 * @param problemCommonId
	 * @return
	 */
	CommonProblemBO getCommonProblemDetail(String problemCommonId);

	/**
	 * 修改或者新增常见问题
	 * 
	 * @param modifyCommonProblemVO
	 * @return
	 */
	String modifyCommonProblem(ModifyCommonProblemVO modifyCommonProblemVO);

	/**
	 * 删除常见问题
	 * 
	 * @param problemCommonId
	 * @return
	 */
	void deleteCommonProblem(List<String> problemCommonIds);

	/**
	 * 启用/禁用常见问题
	 * 
	 * @param enableCommonProblemVO
	 * @return
	 */
	void enableCommonProblem(EnableCommonProblemVO enableCommonProblemVO);

}
